﻿@using SpaceNeedle.City6473.Web.Data.Models

@{
    Layout = null;
    
    WebSiteContent staticContent = ViewBag.StaticContent as WebSiteContent;

    string siteTitle = staticContent.Title;
    string viewTitle = staticContent.Error.PageTitle;
    string pageTitle = viewTitle + " | " + siteTitle;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@pageTitle</title>
</head>
<body>
    <hgroup>
        <h1>@staticContent.Error.Title</h1>
        <h2>@staticContent.Error.Description</h2>
    </hgroup>
    <br /><br />
    Exceção: @Request.QueryString["ex"];
</body>
</html>